package com.chetxt.fk.springboot.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWorldController {

    // git配置文件里的key
    @Value("${myww}")
    String myww;

    @RequestMapping(value = "/hi")
    public String hi() {
        return myww;
    }

}
